/*
 * @Description: Animal
 * @Author: rendc
 * @Date: 2023-11-22 16:40:26
 * @LastEditors: rendc
 * @LastEditTime: 2023-11-22 19:09:01
 */
// Object
public class Animal {
  private String color;
  public int age = 10;
  public String getColor() {
    System.out.println("color: " + color);
    return color;
  }
  public int getAge() {
    System.out.println("age: " + age);
    return age;
  }
  public void setColor(String color) {
    this.color = color;
  }
  public void setAge(int age) {
    this.age = age;
  }
}